import { createRouter, createWebHistory } from 'vue-router'

//主页和登录路由
const routes = [
  {
    path: '/',
    name: 'login',
    component: () => import('@/views/login/login')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
